Syntax:
TaskId()
Description:
Returns the ID number of the currently running task. Each
running AutoMate task has a unique number assigned to it at runtime to
differentiate it from other tasks running with the same name. The
TaskID is a read-only properly of the running task.
Parameter Description
(no parameters)
Example:
Sub
Main
' Display the task ID of the currently running task
MsgBox
TaskId()
End Sub
See Also